.container {
    width: 300px;
    margin: 0 auto;
    position: relative;
    user-select: none;
}

.loading {
    width: 300px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d8d8d8;
    position: absolute;
    z-index: 10;
}

.backgroud {
    width: 100%;
    height: 150px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.puzzle {
    position: absolute;
    left: 0;
    top: 0;
    background-size: cover;
    border-radius: 4px;
}

.track {
    width: 100%;
    height: 40px;
    background-color: #f7f9fa;
    border-radius: 20px;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider {
    position: absolute;
    cursor: grab;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    width: 34px;
    height: 34px;
    background-color: #ffffff;
    border-radius: 50%;
    color: #000;
    font-weight: bold;
    box-shadow: 0 4px 4px 0 #b7b5bb41;
    left: 0;
    transition-timing-function: linear;
    transition-duration: 0.2s;
    transition-property: backgroud-color, color;

    &:hover {
        background-color: #3540f0;
        color: #fff;
    }

    &.disable {
        cursor: not-allowed;
    }

    &.processing {
        cursor: grabbing;
    }

    &.fail {
        background-color: #f57a7a;
        color: #fff;
    }

    &.success {
        background-color: #52ccba;
        color: #fff;
    }
}

.indicator {
    position: absolute;
    top: -1px;
    left: -1px;
    display: none;
    box-sizing: border-box;
    background-color: #dcdeff;
    border: 1px solid #3540f0;
    border-radius: 20px;
    height: inherit;
    display: none;

    &.visible {
        display: block;
    }

    &.dragging {
        background-color: #dcdeff;
        border: 1px solid #3540f0;
    }

    &.verifySuccess {
        background-color: #d2f4ef;
        border: 1px solid #52ccba;
    }

    &.verifyFail {
        background-color: #fce1e1;
        border: 1px solid #f57a7a;
    }
}

.tip {
    font-size: 12px;
    color: #000000a6;
}